package com.th.supcom.pds.drugreturn.client.widget;

import com.extjs.gxt.ui.client.widget.button.Button;

/**
 * 门诊退费按钮集合
 * 
 * @author yzhang
 */
public class DrugReturnButtons
{
    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";
    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";
    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";
    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    /** 清屏按钮. */
    private Button m_clearBtn;

    /** 退药按钮. */
    private Button m_drugReturnBtn;

    /** 查询按钮. */
    private Button m_queryBtn;

    /** 拒绝按钮. */
    private Button m_refuseBtn;

    /**
     * 构造方法
     */
    public DrugReturnButtons ()
    {
        createButtons ();
    }

    private void createButtons ()
    {
        m_queryBtn = new Button ("查询(Q)");
        m_drugReturnBtn = new Button ("退药(O)");
        m_refuseBtn = new Button ("拒绝(N)");
        m_clearBtn = new Button ("清屏(R)");
    }

    /** 获得清屏按钮. */
    public Button getClearBtn ()
    {
        return m_clearBtn;
    }

    /** 获得退药按钮. */
    public Button getDrugReturnBtn ()
    {
        return m_drugReturnBtn;
    }

    /**
     * 获得 查询按钮.
     * 
     * @return
     */
    public Button getQueryBtn ()
    {
        return m_queryBtn;
    }

    /** 获得拒绝按钮. */
    public Button getRefuseBtn ()
    {
        return m_refuseBtn;
    }
}
